package com.boruan.qq.zxgylibrary.service.model;

import java.util.List;

/**
 * Created by 崔琦 on 2019/9/2.
 * des: 首页分类实体
 */

public class FirstCategoryBean {

    /**
     * errorCode : null
     * message : null
     * data : [{"categoryCid":934,"imageUrl":null,"categoryCName":"专科用药","categorySortNumber":null},{"categoryCid":935,"imageUrl":null,"categoryCName":"营养保健","categorySortNumber":null},{"categoryCid":936,"imageUrl":null,"categoryCName":"风湿骨科","categorySortNumber":null},{"categoryCid":937,"imageUrl":null,"categoryCName":"呼吸用药","categorySortNumber":null},{"categoryCid":938,"imageUrl":null,"categoryCName":"免疫增强剂","categorySortNumber":null},{"categoryCid":939,"imageUrl":null,"categoryCName":"移植用药","categorySortNumber":null},{"categoryCid":940,"imageUrl":null,"categoryCName":"肠胃用药","categorySortNumber":null},{"categoryCid":941,"imageUrl":null,"categoryCName":"妇科用药","categorySortNumber":null},{"categoryCid":942,"imageUrl":null,"categoryCName":"母婴用药","categorySortNumber":null},{"categoryCid":943,"imageUrl":null,"categoryCName":"幸福生活","categorySortNumber":null},{"categoryCid":944,"imageUrl":null,"categoryCName":"感冒发烧","categorySortNumber":null},{"categoryCid":945,"imageUrl":null,"categoryCName":"儿科用药","categorySortNumber":null},{"categoryCid":946,"imageUrl":null,"categoryCName":"家庭常备","categorySortNumber":null},{"categoryCid":947,"imageUrl":null,"categoryCName":"抗生素药","categorySortNumber":null},{"categoryCid":948,"imageUrl":null,"categoryCName":"医疗器械","categorySortNumber":null}]
     * success : true
     */

    private String code;
    private Object message;
    private boolean success;
    private List<ResultBean> result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> data) {
        this.result = data;
    }

    public static class ResultBean {
        /**
         * categoryCid : 934
         * imageUrl : null
         * categoryCName : 专科用药
         * categorySortNumber : null
         */

        private int categoryCid;
        private String imageUrl;
        private String categoryCName;
        private Object categorySortNumber;

        public int getCategoryCid() {
            return categoryCid;
        }

        public void setCategoryCid(int categoryCid) {
            this.categoryCid = categoryCid;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getCategoryCName() {
            return categoryCName;
        }

        public void setCategoryCName(String categoryCName) {
            this.categoryCName = categoryCName;
        }

        public Object getCategorySortNumber() {
            return categorySortNumber;
        }

        public void setCategorySortNumber(Object categorySortNumber) {
            this.categorySortNumber = categorySortNumber;
        }
    }
}
